<?php


use think\facade\Route;

Route::get('crud/vendor', 'crud.Vendor/index')->option(['real_name' => '商家列表接口']);

Route::get('crud/vendor/create', 'crud.Vendor/create')->option(['real_name' => '商家获取创建表单接口']);

Route::post('crud/vendor', 'crud.Vendor/save')->option(['real_name' => '商家保存接口']);

Route::get('crud/vendor/:id/edit', 'crud.Vendor/edit')->option(['real_name' => '商家获取修改表单接口']);

Route::put('crud/vendor/:id', 'crud.Vendor/update')->option(['real_name' => '商家修改接口']);

Route::delete('crud/vendor/:id', 'crud.Vendor/delete')->option(['real_name' => '商家删除接口']);

/////////////////////////2023年10月24日11:36

Route::get('crud/get_vendor_apply', 'crud.Vendor/get_vendor_apply')->option(['real_name' => '用户申请入驻商家接口']);

Route::post('crud/set_apply', 'crud.Vendor/set_apply')->option(['real_name' => '审核申请入驻商家']);
Route::post('crud/sxj_car', 'crud.Vendor/sxj_car')->option(['real_name' => '上下架车辆']);
Route::post('crud/sh_car', 'crud.Vendor/sh_car')->option(['real_name' => '审核车辆车辆']);




Route::get('crud/get_jzqsign_link', 'crud.Vendor/get_jzqsign_link')->option(['real_name' => '商家获取君子签签约链接']);
Route::get('crud/get_jzqsign_xzlink', 'crud.Vendor/get_jzqsign_xzlink')->option(['real_name' => '君子签获取文件下载链接']);

Route::get('crud/get_base_place', 'crud.Vendor/get_base_place')->option(['real_name' => '查询签署门店列表']);
Route::post('crud/signcontract', 'crud.Vendor/signcontract')->option(['real_name' => '签署合同']);
Route::get('crud/hetong_list', 'crud.Vendor/hetong_list')->option(['real_name' => '合同列表']);
Route::get('crud/get_hetong_details', 'crud.Vendor/get_hetong_details')->option(['real_name' => '合同详情']);
Route::post('crud/delete_hetong', 'crud.Vendor/delete_hetong')->option(['real_name' => '删除合同']);
Route::post('crud/update_contract', 'crud.Vendor/update_contract')->option(['real_name' => '修改合同']);

Route::get('crud/get_car_staff', 'crud.Vendor/get_car_staff')->option(['real_name' => '创建合同的所有门店下拉列表']);

